body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:white;
}

.header-image {
    background-image: url('L1.jpg'); 
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    z-index: 1;
    /* align-items: center; */
    
}
.link-inheritance {
  text-decoration: none;
  color: inherit;
}

.header-image h1 {
    font-size: 58px;
    margin-right: 900px;
    margin-top: 200px;
}
@media (min-width: 600px) and (max-width:767px){
    .header-image {
        background-image: url('L1.jpg');
        background-size: cover;
        background-position: center;
        height: 300px;
        width: 775px;
        position: relative;
        color: white;
        text-align: center;
        display: flex;
        justify-content: center;
        overflow: hidden;
        /* align-items: center; */
    }
    .header-image h1 {
        font-size: 40px;
        margin: 0;
        margin-top: 112px;
        margin-left: -220px;
        overflow: hidden;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-image {
        height: 350px;
    }
    .header-image h1 {
        font-size: 46px;
        margin-right: 0;
        margin-left: -262px;
        margin-top: 148px;
    }
}


@media (max-width: 480px){
    .header-image {
        background-image: url('L1.jpg');
        background-size: cover;
        background-position: center;
        height: 200px;
        position: relative;
        color: white;
        text-align: center;
        display: flex;
        justify-content: center;
        /* align-items: center; */
    }
    .header-image h1 {
        font-size: 28px;
        margin: 77px;
        margin-right: 221px;
    }
}

@media (min-width: 992px) and (max-width:1199px){
    .header-image {
        background-image: url('L1.jpg');
        background-size: cover;
        background-position: center;
        height: 450px;
        position: relative;
        color: white;
        text-align: center;
        display: flex;
        justify-content: center;
        /* align-items: center; */
    }
    .header-image h1 {
        font-size: 50px;
        margin-right: 550px;
        margin-top: 200px;
    }
}

header {
    background-color: #1d2b40;
    padding: 20px;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }
  
  .logo {
    font-family: 'Playfair Display', serif;
    color: #d4a259;
    font-size: 24px;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
  }
  
  .nav-links li {
    position: relative;
    margin-left: 50px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
  }
  
  .nav-links li a:hover {
    color: #d4a259;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1d2b40;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  
    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      position: absolute;
      top: 53px; /* Adjust this value based on the height of your header */
      background-color: #1d2b40;
    }
  
    .nav-links li {
      text-align: center;
      margin: 0;
    }
  
    .nav-links li a {
      padding: 15px;
      width: 100%;
      display: block;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .dropdown-content {
      position: static;
      background-color: #1d2b40;
    }
  }
.litigation img {
    width: 100%;
    height: 400px;
}



.cases {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.case {
    flex: 1 1 30%;
    padding: 20px;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
}

.case img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.case h2 {
    font-size: 20px;
    color: #00416A;
    margin: 10px 0;
}

.case p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
    line-height: 1.5rem;
    text-align: justify;
}

.case a {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    color: #e74c3c;
    text-decoration: none;
}

.case a:hover {
    text-decoration: underline;
}

.case a {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    color: #e74c3c;
    text-decoration: none;
}

.case a:hover {
    text-decoration: underline;
}
.para{
    text-align: center;
    font-size: 20px;
    /* font-family: 'Playfair Display', serif; */
    margin-left: 30px;
  margin-right: 30px;
  /* width: 50%; You can adjust this width as needed */
  
}

.footer {
    background-color: #1b2a3c;
    padding-top: 20px;
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
}
.footer nav {
    margin-bottom: 10px;
    justify-content: center;
}
.footer nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
}
.footer .social-icons {
    margin-bottom: 10px;
}
.footer .social-icons a {
    margin: 0 10px;
    color: white;
    font-size: 20px;
}
.footer p {
    margin: 5px 0;
    font-size: 14px;
    margin-top: 0;
    padding-top: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1d2b40;
    padding: 1rem;
}

.navbar .brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.brand h1 {
    color: burlywood;
    font-size: 22px;
    margin: 0;
}

.navbar .menu {
    display: flex;
    flex: 1;
    list-style: none;
    justify-content: center;
    margin-right: 18%;
}

.navbar a {
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    /* background-color: rgb(74, 162, 192); Set the background color to light blue */
} 

.navbar a:hover {
    background-color: #1d2b40;
}

.navbar .menu-container {
    display: flex;
    align-items: center;
}

.navbar .menu-text {
    color: white;
    font-size: 18px;
    margin-right: 10px;
}

.navbar .menu-button {
    display: none;
    font-size: 18px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 480px) {
    .litigation img {
        width: 100%;
        height: 200px;
    }

    .logo {
        margin-left: 0;
        font-size: 20px;
    }
    .para {
        text-align: justify;
        font-size: 16px;
        /* font-family: 'Playfair Display', serif; */
        margin-left: 30px;
        margin-right: 30px;
    }
    .case {
        /* flex: 1 1 30%; */
        padding: 20px;
        margin: 10px;
        box-sizing: border-box;
        text-align: center;
    }
    .case img {
        /* width: 100%; */
        height: auto;
        width: 300px;
        margin-left: -25px;
        margin-bottom: 10px;
    }
    .case h2 {
        font-size: 20px;
        color: #00416A;
        margin: 10px 0;
        margin-left: -20px;
    }
    .case p {
        font-size: 14px;
        color: #555;
        margin: 10px 0;
        line-height: 1.5rem;
        text-align: justify;
    }

    .footer {
        flex-direction: row;
        text-align: center;
    }
    .footer .social-icons {
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }
    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }
    
    .footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        overflow-x: hidden;
    }
    .footer nav a {
        margin: 3px 9px;
        text-decoration: none;
        color: white;
        font-size: 12px;
        letter-spacing: 1px;
    }
}

/* @media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .navbar .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1d2b40;
        padding: 0;
    }

    .navbar .menu.show {
        display: flex;
    }

    .navbar .menu-container {
        align-self: flex-end;
    }

    .navbar .menu-button {
        display: block;
    }

    .logo {
        margin-left: 0;
        font-size: 20px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
} */
    @media (min-width: 601px) and (max-width: 1024px) {
        nav ul {
            flex-direction: row;
            align-items: center;
            gap: 15px;
            justify-content:right;
            
        }
    
        nav ul li {
            margin: 5px 0;
        }
        nav ul li a {
            font-size: 1rem;
        }
        .logo{
            font-size: 1.5em;
            margin: 0 auto;
        }
        .case {
            width: 80%;
        }
        }
        @media (min-width: 1025px) {
            .navbar {
                padding: 1rem 2rem;
            }
        
            .logo {
                margin-left: -150px;
                margin: 0 auto;
            }
        
            nav ul {
                flex-direction: row;
            }}



            @media (min-width: 600px) and (max-width:767px) {
                .litigation img {
                    width: 100%;
                    height: 300px;
                }
               
            .cases{
                flex-direction: row;
            }
            .para {
                text-align: justify;
                font-size: 18px;
                font-family: 'Playfair Display', serif;
                margin-left: 30px;
                margin-right: 30px;
            }
            
            .case p {
                font-size: 16px;
                color: #555;
                margin: 10px 0;
                display: none;
                line-height: 1.5rem;
                text-align: justify;
            }
            .case img {
                /* width: 100%; */
                height: auto;
                width: 146px;
                flex-direction: row;
                margin-bottom: 0px;
            }
            
            .case h2 {
                font-size: 16px;
                color: #00416A;
                margin: 10px 0;
            }
            .case a {
                display: inline-block;
                margin-top: 3px;
                font-size: 14px;
                color: #e74c3c;
                text-decoration: none;
            }
            
            .footer {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: space-between;
                text-align: center;
            }
            .footer nav {
                margin-bottom: 10px;
                flex-direction: row;
                justify-content: center;
            }
            .footer nav a {
                margin: 0 15px;
                text-decoration: none;
                color: white;
                font-size: 12px;
                letter-spacing: 0px;
            }
            .footer p {
                margin: 5px 0;
                font-size: 11px;
            }
            
            }



            @media (min-width: 768px) and (max-width: 991px){

                .litigation img {
                    width: 100%;
                    height: 350px;
                }
                .cases {
                    flex-direction: row;
                    justify-content: space-between;
                    align-content: center;
                }
                .case h2 {
                    font-size: 18px;
                    color: #00416A;
                    margin: 10px 0;
                }
                .footer nav a {
                    margin: 0 15px;
                    text-decoration: none;
                    color: white;
                    font-size: 15px;
                    letter-spacing: 1px;
                }
            }


            @media (min-width: 481px) and (max-width:599px){

                .litigation img {
                    width: 100%;
                    height: 250px;
                }

                .para {
                    text-align: center;
                    font-size: 16px;
                    
                    margin-left: 30px;
                    margin-right: 30px;
                }


.case img {
    /* width: 100%; */
    height: auto;
    width: 370px;
    margin-bottom: 10px;
}
                .footer {
                    flex-direction: row;
                    text-align: center;
                }
                .footer .social-icons {
                    margin-bottom: 10px;
                    justify-content: center;
                    text-align: center;
                }
                .footer p {
                    margin: 5px 0;
                    font-size: 14px;
                    text-align: center;
                }
                
               .footer nav {
                    flex-direction: row;
                    flex-wrap: wrap;
                    align-items: center;
                    overflow-x: hidden;
                }
                .footer nav a {
                    margin: 3px 9px;
                    text-decoration: none;
                    color: white;
                    font-size: 14px;
                    letter-spacing: 1px;
                }
            
            }

